﻿using Rail.Start.Viewer;

namespace Rail.Start.Controller
{
    class ProjectFoundFormCommand: Base.BaseCommand
    {
        public override void Execute(PureMVC.Interfaces.INotification notification)
        {
            ProjectFoundForm pf = new ProjectFoundForm();
            ProjectFoundFormMediator pfm = new ProjectFoundFormMediator(pf);
            Facade.RemoveMediator(pfm.MediatorName);
            Facade.RegisterMediator(pfm);
            pf.ShowDialog();
        }
    }
}
